tools/xenstore: call remove_domid_from_perm() for special nodes
authorJuergen Gross <jgross@suse.com>
Wed, 9 Nov 2022 09:59:42 +0000 (10:59 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 9 Nov 2022 09:59:42 +0000 (10:59 +0100)
commita524495aac037d48e3163ad29099030403298f6f
tree56cd36366ec94224bc0eb4bb5e2ab2be880809d2
parentc1e196ab490b47ce42037c2fef8184a19d96922b
tools/xenstore: call remove_domid_from_perm() for special nodes

When destroying a domain, any stale permissions of the domain must be
removed from the special nodes "@...", too. This was not done in the
fix for XSA-322.

Fixes: 496306324d8d ("tools/xenstore: revoke access rights for removed domains")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
master commit: 0751a75e3996cf6efd3925a90b4776660d8df2bc
master date: 2022-11-02 12:08:22 +0100
tools/xenstore/xenstored_domain.c